<!--
 * @Author: yaojian66 1327629137@qq.com
 * @Date: 2022-06-24 11:23:58
 * @LastEditors: yaojian66 1327629137@qq.com
 * @LastEditTime: 2022-06-24 11:44:35
 * @FilePath: \geyao\第三十七题 返回星期数.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>返回星期数</title>
</head>

<body>
  <script>
    function _getday(value) {
      // 补全代码
      switch (value) {
        case 1:
          return "星期一"
          break;

        case 2:
          return "星期二"
          break;
        case 3:
          return "星期三"
          break;
        case 4:
          return "星期四"
          break;
        case 5:
          return "星期五"
          break;
        case 6:
          return "星期六"
          break;
          case 7:
          return "星期天"
          break;
        default:
          return "星期日"
          break
      }
    }
  </script>
</body>

</html>